<h2>Editing <%= @record.name %></h2>
<% form_for(@record) do |f| %>
  <%= f.error_messages %>

<%= render :partial => "record_input", :locals => {:f => f} %>

	<%= f.submit 'Submit' %>
	
<% end %>

<%= link_to 'Show', @record %> |
<%= link_to 'Back', records_path %>